#ifndef __MO_COMMON_H
#define __MO_COMMON_H


// function return value
#define MO_REV_OK 0
#define MO_REV_DEV_NAME_ERR -1
#define MO_REV_PARAM_ERR -2
#define MO_REV_CAM_NOT_WORKING -3
#define MO_REV_BE_LOCKED -4
#define MO_REV_DEV_OPERATION_FAIL -5
#define MO_REV_DEV_DATA_WRONG -6
#define MO_REV_DEV_NO_SAVED_DATA -7
#define MO_REV_BUF_ALLOC_FAIL -8
#define MO_REV_NOT_SUPPORT -9
#define MO_REV_NOT_FOUND -10
#define MO_REV_NOT_READY -11
#define MO_REV_STATUS_ERR -12
#define MO_REV_TOO_MANY_DEV -13
#define MO_REV_OTHER_ERR -14
#define MO_REV_NO_NEED_UPGRADE -15
#define MO_REV_NOT_INIT -16
#define MO_REV_SHUTDOWN -20
#define MO_REV_ISP_NOT_WORK -21
#define MO_REV_EEPROM_RESOLUTION -22  //  分辨率
#define MO_REV_EEPROM_RECOVERY_OK -23 //

#endif